#include <stdio.h>

int foo(void)
{
	int ee = 0x4000, ce = 0x8000, reg;
	__asm__ __volatile__ (
		"movl %1, %%eax\n"
		"movl %2, %%ebx\n"
		"orl %%ebx, %%eax\n"
		"movl %%eax, %0"
		: "=r" (reg)
		: "r" (ce), "r" (ee)
		: "%eax", "ebx"
	);
	printf("reg=0x%x\n", reg);
	return 0;
}

int main(void)
{
	foo();
	return 0;
}
